package com.ch.ba01.impl;

import com.ch.ba01.SomeService;

/**
 * @author chenhong
 * @version 1.0.0
 * @ClassName SomeServiceImpl.java
 * @Description TODO
 * @createTime 2020年12月11日 21:43:00
 */

//目标类
public class SomeServiceImpl implements SomeService {


    //给doSome()增加功能
    @Override
    public void doSome(String name, Integer age) {
        System.out.println("+======目标方法doSome=====");
        System.out.println(name + " " + age);
    }

    @Override
    public String doOther(String name, Integer age) {
        System.out.println("+======目标方法doOther=====");
        return "kkqs";
    }
}
